package com.service.socket.service;


import com.service.dao.po.KlineVo;

import java.util.List;

public interface KlineService {

    KlineVo getByOpenTimeAndSymbol(Long openTime, String symbol);

    KlineVo getLastOneBySymbol(String symbol);

    void updateKline(KlineVo klineVo);

    List<KlineVo> listBySymbolAndLimit(String symbol, Long openTime, Integer limit);
}
